package com.hp.ams.ongoing.netatendimento.model.entity;

import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;


@Document
public class Problema {
	
	
	public Problema(String descricaoProblema) {
		this.descricaoProblema = descricaoProblema;
	}

	@Id
	private ObjectId id;
	
	@Indexed
	private String descricaoProblema;

	public ObjectId getId() {
		return id;
	}

	public void setId(ObjectId id) {
		this.id = id;
	}

	public String getDescricaoProblema() {
		return descricaoProblema;
	}

	public void setDescricaoProblema(String descricaoProblema) {
		this.descricaoProblema = descricaoProblema;
	}
	
	

}
